﻿<%@ Page Title="" Language="C#" MasterPageFile="~/masError.master" AutoEventWireup="true"
    CodeFile="Login.aspx.cs" Inherits="WebTeamplate.Login" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <div id="page-content-wrapper">
        <div id="tabs" class="ui-tabs ui-widget ui-widget-content ui-corner-all pnLogin">
            <div id="login">
                <div class="response-msg success ui-corner-all">
                    Please input correct user name and password to login system
                </div>
                <div id="tabs-3">
                    <asp:Login ID="Login1" runat="server" Width="100%" FailureTextStyle-BackColor="Red"
                        DestinationPageUrl="~/Admin/Default.aspx" OnLoggedIn="Login1_LoggedIn">
                        <LayoutTemplate>
                            <table border="0" cellpadding="5" cellspacing="5" id="tblLogin" width="100%" align="center">
                                <tr>
                                    <td class="left">
                                        <asp:Label ID="UserNameLabel" runat="server" AssociatedControlID="UserName">User name:</asp:Label>
                                    </td>
                                    <td>
                                        <asp:TextBox ID="UserName" Width="180px" runat="server"></asp:TextBox>
                                        <asp:RequiredFieldValidator ID="UserNameRequired" runat="server" ControlToValidate="UserName"
                                            ErrorMessage="User Name is required." ToolTip="User Name is required." ValidationGroup="Login1">*</asp:RequiredFieldValidator>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="left">
                                        <asp:Label ID="PasswordLabel" runat="server" AssociatedControlID="Password">Password:</asp:Label>
                                    </td>
                                    <td>
                                        <asp:TextBox ID="Password" Width="180px" runat="server" TextMode="Password"></asp:TextBox>
                                        <asp:RequiredFieldValidator ID="PasswordRequired" runat="server" ControlToValidate="Password"
                                            ErrorMessage="Password is required." ToolTip="Password is required." ValidationGroup="Login1">*</asp:RequiredFieldValidator>
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        &nbsp;
                                    </td>
                                    <td align="left">
                                        <asp:Button ID="LoginButton" runat="server" CommandName="Login" Text="Login" ValidationGroup="Login1"
                                            ToolTip="Đăng nhập" CssClass="ui-state-default ui-corner-all ui-state-focus" />
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        &nbsp;
                                    </td>
                                    <td align="left">
                                        <asp:CheckBox ID="RememberMe" runat="server" Text="Remember me for next time." />
                                    </td>
                                </tr>
                                <tr>
                                    <td colspan="2" align="center">
                                        <span class="error">
                                            <asp:Literal ID="FailureText" runat="server" EnableViewState="False"></asp:Literal>
                                        </span>
                                    </td>
                                </tr>
                                <%--<tr>
                                    <td colspan="2" align="left" class="liText">
                                        If you forgot password? Please click <a href="#">here</a> for get new password.
                                    </td>
                                </tr>
                                <tr>
                                    <td colspan="2" align="left" class="liText">
                                        You haven't account. Please click <a href="#">here</a> for register.
                                    </td>
                                </tr>--%>
                            </table>
                        </LayoutTemplate>
                    </asp:Login>
                
                </div>
            </div>
        </div>
    </div>
</asp:Content>
